package com.lipengcheng.search.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data

public class RequestParams {
    private String key;

    private Integer page;

    private Integer size;

    private String sortBy;

    private String brand;

    private String category;

    private Integer minPrice;

    private Integer maxPrice;

    public RequestParams(String key, Integer page, Integer size, String sortBy, String brand, String category, Integer minPrice, Integer maxPrice) {
        this.key = key;
        this.page = page;
        this.size = size;
        this.sortBy = sortBy;
        this.brand = brand;
        this.category = category;
        this.minPrice = minPrice;
        this.maxPrice = maxPrice;
    }

    public RequestParams() {
    }

}
